﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Default.Master" Inherits="System.Web.Mvc.ViewPage<WebStickyNotes.Models.DeleteTaskDetailModel>" %>
<%@ Import Namespace="WebStickyNotes.Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Labels.PageTitleEditTask %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <article>
        <header>
            <h2><%= Labels.PageTitleEditTask %></h2>
        </header>
        <section>
            <% Html.RenderPartial("Message", Model.Message); %>
            <% using (Html.BeginForm())
               { %>
               <input type="hidden" name="id" value="<%= Model.Task.Task.Id %>" />
               <input type="hidden" name="confirm" value="true" />
               <p>Title: <%= Model.Task.Task.Title %></p>
               <p><%= Model.Task.Task.Description %></p>
               <p>Release: <%= Model.Task.Task.Release%></p>
               <p>Progress: <%= Model.Task.Task.PercentageComplete%></p>
               <p>Assigned To: <%= Model.Task.Person.FirstName%> <%= Model.Task.Person.LastName%></p>
               <% if (Model.ShowButton) { %>
               <input type="submit" value="Delete" />
               <% } %>
            <% }%>
        </section>
    </article>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
